package com.taobao.top
{
	/**
	 * as3top 设置类，在初始化的时候请先设置isTest,appKey,appSecret三个属性。
	 * @author 达达|马腾
	 * 
	 */	
	public class TOPConfig
	{
		private static var _instance:TOPConfig;
		public function TOPConfig()
		{
		}
		
		public static function getInstance():TOPConfig
		{
			if(_instance == null)
			{
				_instance = new TOPConfig();
			}
			return _instance;
		}
		public var isTest:Boolean = true;
		public var appKey:String ="12001962";
		public var appSecret:String ="70a7744eb8c67d95a4201bbc6dd245b0";
		public var sessionKey:String= "";
		public function get ReqURL():String
		{
			if(isTest)
			{
				return "http://gw.sandbox.taobao.com/router/rest";
			}else
			{
				return "";
			}
		}
	}
}